#define _CRT_SECURE_NO_WARNINGS 1
#include"heap.h"



void test1()
{
	int arr[10] = { 5,4,1,7,2,9,6,8,3,10 };
	HP hp;
	HeapInit(&hp);
	for (int i = 0; i < 10; i++)
	{
		HeapPush(&hp, arr[i]);
	}
	print(&hp);
	Heapsort(&hp, 10);
}

int main()
{
	test1();
	return 0;
}